<!--
 * @Author: your name
 * @Date: 2020-08-04 08:18:29
 * @LastEditTime: 2020-08-04 09:46:48
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \dcg-vue-init\src\views\error.vue
-->
<template>
  <div>
    <h1>错误信息：</h1>
    <ul v-for="item in errList" :key="item.info" style="margin-top: 20px">
      <li>info: {{ item.info }}</li>
      <li>err: {{ item.err }}</li>
      <li>url: {{ item.url }}</li>
    </ul>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
export default {
  computed: {
    ...mapGetters(['errList'])
  }
}
</script>

<style></style>
